﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VERKProjectHopur16.Models.TimelineRequestModel>" %>
<%@ Import Namespace="VERKProjectHopur16.Helpers" %> 

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
        
        <fieldset>
            <legend><%: Lang.GetText("Menu", "Password") %></legend>
 
            <div class="editor-field">
                <%: Html.PasswordFor(model => model.Password) %>
                <%: Html.ValidationMessageFor(model => model.Password) %>
            </div>
            
            <div class="editor-label" style="display:none">
                <%: Html.LabelFor(model => model.ChildID) %>
            </div>
            <div class="editor-field" style="display:none">
                <%: Html.TextBoxFor(model => model.ChildID) %>
                <%: Html.ValidationMessageFor(model => model.ChildID) %>
            </div>       

            <p>
                <input type="submit" value="<%: Lang.GetText("Menu", "Submit") %>" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%: Html.ActionLink(Lang.GetText("Menu", "Request_pass"), "PasswordRequest", new { id = Model.ChildID })%>
    </div>

    <div>
        <%: Html.ActionLink(Lang.GetText("Menu", "Back"), "AllChildren")%>
    </div>


